Optimal. Leaf size=86 \[ \frac {\sqrt {a x^3+b x^4}}{2 b}-\frac {3 a \sqrt {a x^3+b x^4}}{4 b^2 x}+\frac {3 a^2 \tanh ^{-1}\left (\frac {\sqrt {b} x^2}{\sqrt {a x^3+b x^4}}\right )}{4 b^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.09, antiderivative size = 86, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {2049, 2054,
212} \begin {gather*} \frac {3 a^2 \tanh ^{-1}\left (\frac {\sqrt {b} x^2}{\sqrt {a x^3+b x^4}}\right )}{4 b^{5/2}}-\frac {3 a \sqrt {a x^3+b x^4}}{4 b^2 x}+\frac {\sqrt {a x^3+b x^4}}{2 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 2049
Rule 2054
Rubi steps
\begin {align*} \int \frac {x^3}{\sqrt {a x^3+b x^4}} \, dx &=\frac {\sqrt {a x^3+b x^4}}{2 b}-\frac {(3 a) \int \frac {x^2}{\sqrt {a x^3+b x^4}} \, dx}{4 b}\\ &=\frac {\sqrt {a x^3+b x^4}}{2 b}-\frac {3 a \sqrt {a x^3+b x^4}}{4 b^2 x}+\frac {\left (3 a^2\right ) \int \frac {x}{\sqrt {a x^3+b x^4}} \, dx}{8 b^2}\\ &=\frac {\sqrt {a x^3+b x^4}}{2 b}-\frac {3 a \sqrt {a x^3+b x^4}}{4 b^2 x}+\frac {\left (3 a^2\right ) \text {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {x^2}{\sqrt {a x^3+b x^4}}\right )}{4 b^2}\\ &=\frac {\sqrt {a x^3+b x^4}}{2 b}-\frac {3 a \sqrt {a x^3+b x^4}}{4 b^2 x}+\frac {3 a^2 \tanh ^{-1}\left (\frac {\sqrt {b} x^2}{\sqrt {a x^3+b x^4}}\right )}{4 b^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 93, normalized size = 1.08 \begin {gather*} \frac {\sqrt {b} x^2 \left (-3 a^2-a b x+2 b^2 x^2\right )-3 a^2 x^{3/2} \sqrt {a+b x} \log \left (-\sqrt {b} \sqrt {x}+\sqrt {a+b x}\right )}{4 b^{5/2} \sqrt {x^3 (a+b x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.38, size = 98, normalized size = 1.14
method | result | size |
risch | \(-\frac {\left (-2 b x +3 a \right ) x^{2} \left (b x +a \right )}{4 b^{2} \sqrt {x^{3} \left (b x +a \right )}}+\frac {3 a^{2} \ln \left (\frac {\frac {a}{2}+b x}{\sqrt {b}}+\sqrt {b \,x^{2}+a x}\right ) x \sqrt {x \left (b x +a \right )}}{8 b^{\frac {5}{2}} \sqrt {x^{3} \left (b x +a \right )}}\) | \(87\) |
default | \(\frac {x \sqrt {x \left (b x +a \right )}\, \left (4 x \sqrt {b \,x^{2}+a x}\, b^{\frac {5}{2}}-6 b^{\frac {3}{2}} \sqrt {b \,x^{2}+a x}\, a +3 \ln \left (\frac {2 \sqrt {b \,x^{2}+a x}\, \sqrt {b}+2 b x +a}{2 \sqrt {b}}\right ) a^{2} b \right )}{8 \sqrt {b \,x^{4}+a \,x^{3}}\, b^{\frac {7}{2}}}\) | \(98\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.87, size = 150, normalized size = 1.74 \begin {gather*} \left [\frac {3 \, a^{2} \sqrt {b} x \log \left (\frac {2 \, b x^{2} + a x + 2 \, \sqrt {b x^{4} + a x^{3}} \sqrt {b}}{x}\right ) + 2 \, \sqrt {b x^{4} + a x^{3}} {\left (2 \, b^{2} x - 3 \, a b\right )}}{8 \, b^{3} x}, -\frac {3 \, a^{2} \sqrt {-b} x \arctan \left (\frac {\sqrt {b x^{4} + a x^{3}} \sqrt {-b}}{b x^{2}}\right ) - \sqrt {b x^{4} + a x^{3}} {\left (2 \, b^{2} x - 3 \, a b\right )}}{4 \, b^{3} x}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{3}}{\sqrt {x^{3} \left (a + b x\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.67, size = 90, normalized size = 1.05 \begin {gather*} \frac {1}{4} \, \sqrt {b x^{2} + a x} {\left (\frac {2 \, x}{b \mathrm {sgn}\left (x\right )} - \frac {3 \, a}{b^{2} \mathrm {sgn}\left (x\right )}\right )} + \frac {3 \, a^{2} \log \left ({\left | a \right |}\right ) \mathrm {sgn}\left (x\right )}{8 \, b^{\frac {5}{2}}} - \frac {3 \, a^{2} \log \left ({\left | -2 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a x}\right )} \sqrt {b} - a \right |}\right )}{8 \, b^{\frac {5}{2}} \mathrm {sgn}\left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^3}{\sqrt {b\,x^4+a\,x^3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________